<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <ul>
            <li v-for="(item,index) in prolist" :key="item.id">
                <span>{{item.id}}--{{item.pname}}--{{item.price}}---{{item.color}}</span>
                <div>
                    <a href="#" v-for="(skuItem,ind) in item.sku" :key="ind">{{skuItem}}</a>
                </div>
            </li>
        </ul>
    </div>
    <script src="./vue.js"></script>
    <script>
        new Vue({
            el: "#app",
            data() {
                return {
                    prolist: [{
                        id: 1,
                        pname: "iphone13",
                        price: 8000,
                        color: "蓝色",
                        sku: ["8G", "4G", "6G"]
                    }, {
                        id: 2,
                        pname: "小米11",
                        price: "2999",
                        color: "红色",
                        sku: ["12G", "32G", "16G"]
                    }, {
                        id: 3,
                        pname: "诺基亚5233",
                        color: "黑色",
                        price: "2500",
                        sku: ["88G", "168G", "188GS"]
                    }]
                }
            }
        })
    </script>
</body>

</html>